package cn.edkuir.auth.feign;

import cn.edkuir.auth.vo.UserLoginVo;
import cn.edkuir.auth.vo.UserRegisterVo;
import cn.edkuir.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mall-member")
public interface MemberFeignService {

    @PostMapping("/member/member/register")
    R register(@RequestBody UserRegisterVo userRegisterVo);


    @PostMapping("/member/member/login")
    R login(@RequestBody UserLoginVo userLoginVo);

}
